# _*_ coding: UTF-8 _*_
# @Time     : 2021/10/27 15:59
# @Author   : 郑鲁明
# @Site     : http://www.hzdledu.cn/
# @File     : 练习.py
# @Software : PyCharm

class User:
    def __init__(self, first_name, last_name):
        self.first_name = first_name
        self.last_name = last_name

    def describe_user(self):
        print(f'{self.first_name} {self.last_name}')

    def greet_user(self):
        print(f'hello!{self.first_name} {self.last_name}')


if __name__ == '__main__':
    people1 = User('郑', '鲁明')
    people2 = User('御坂', '美琴')

    people1.describe_user()
    people1.greet_user()
    people2.describe_user()
    people2.greet_user()
